export default function(price) {
	if (price == '0')  return ''
	const originPrice = parseFloat(price).toFixed(2)
	const priceArr = originPrice.split('')
	const res = []
	const _len = priceArr.length
	for (let i = _len; i -- ; i >= 0) {
		res.unshift(priceArr[i])
		if ((_len - i - 3) % 3 === 0 && (_len - i - 3) > 0 && i > 0) {
			res.unshift(',')
		}
	}
	console.log(res.join(''))
	return res.join('')
}